- Never set Claude as the git author. All commits must be attributed to the user only. Do not modify
user.nameoruser.emailin git config. - Never push to remote without explicit user approval. Always ask before running
git push. - Never deploy via Wrangler CLI without explicit user approval. All projects use CI/CD pipelines on GitHub — manual deploys bypass the established workflow.
- Prefer TypeScript linter checks and build verification over runtime testing when validating changes.
Discover gists
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| The most atomic way to train and run inference for a GPT in pure, dependency-free Python. | |
| This file is the complete algorithm. | |
| Everything else is just efficiency. | |
| @karpathy | |
| """ | |
| import os # os.path.exists | |
| import math # math.log, math.exp |
Verified Spec-Driven Development (VSDD) is a unified software engineering methodology that fuses three proven paradigms into a single AI-orchestrated pipeline:
- Spec-Driven Development (SDD): Define the contract before writing a single line of implementation. Specs are the source of truth.
- Test-Driven Development (TDD): Tests are written before code. Red → Green → Refactor. No code exists without a failing test that demanded it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| The most atomic way to train and run inference for a GPT in pure, dependency-free Python. | |
| This file is the complete algorithm. | |
| Everything else is just efficiency. | |
| @karpathy | |
| """ | |
| import os # os.path.exists | |
| import math # math.log, math.exp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # 定义 Chrome Local State 文件的路径 | |
| CHROME_STATE_FILE="$HOME/Library/Application Support/Google/Chrome/Local State" | |
| echo "🚀 开始尝试强制开启 Chrome Gemini 功能..." | |
| # 1. 安全检查:检测 Google Chrome 是否正在运行 | |
| # 如果 Chrome 没关,修改配置文件可能会被覆盖或导致错误 | |
| if pgrep "Google Chrome" > /dev/null; then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "stdafx.h" | |
| #include <Windows64\4JLibs\inc\4J_Input.h> | |
| #include <Common\App_enums.h> | |
| #include <Windows.h> | |
| C_4JInput InputManager; | |
| void C_4JInput::Initialise(int iInputStateC, unsigned char ucMapC, unsigned char ucActionC, unsigned char ucMenuActionC) |
NewerOlder